<template>
  <div class="drag_t" v-drag></div>
</template>

<script setup>
import { onMounted } from 'vue';
import { initvd } from './vdrag';
onMounted(() => {});
let vDrag = {
  mounted(el, bind) {
    console.log(el, bind);
    initvd(el);
  },
};
</script>

<style scoped lang="scss"></style>

<style>
.drag_t {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #f4d653;
}
</style>
